﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using WYJCore;

namespace WYJWeb.Models.BaseInfo
{
    public class QrCode : BaseModel
    {
        /// <summary>
        /// 产品
        /// </summary>
        [Column]
        public Production Production { get; set; }

        /// <summary>
        /// 批次号
        /// </summary>
        [Column]
        public string Batch { get; set; }
        
        /// <summary>
        /// 入库库位
        /// </summary>
        [Column]
        public StockSpace StockSpace { get; set; }

        /// <summary>
        /// 入库日期
        /// </summary>
        [Column]
        public DateTime? InBoundDate { get; set; }

        /// <summary>
        /// 库存数量
        /// </summary>
        [Column]
        public int Inventory { get; set; }

        /// <summary>
        /// 所属客户
        /// </summary>
        [Column]
        public Customer Customer { get; set; }
    }
}
